﻿<?php
	//ob_start('compress_page');
	require_once(CONTROLLER_DIR.'/template/header_page.phtml');
	require_once('album_seo.phtml');
?>
	<style >
		#galleria{ height:550px; width: 100%;}
		.galleria-thumbnails{margin: 0 auto;}
	</style>
	<script src="js/galleria/galleria-1.2.7.min.js" type="text/javascript"></script>
</head>
<body>
	
	<div id="wrapper">
	<?php	require_once(CONTROLLER_DIR.'/template/header.phtml'); ?>	
		<div id="content" > 
			<div id="galleria">
				<?php
					foreach ($photoArr as $value)
					{
						echo "<img src='{$value['photo_url']}' >";
					}
				?>
			</div>
			<script>
				Galleria.loadTheme('js/galleria/themes/classic/galleria.classic.min.js');
				Galleria.run('#galleria');
			</script>
			
			<div class="spacer"></div>
		</div><!--id: content-->
	<?php require_once(CONTROLLER_DIR.'/template/poster/poster.php'); ?>	
	<?php require_once(CONTROLLER_DIR.'/template/footer.phtml'); ?>	
	</div><!--id: wrapper-->
</body>
</html>
<?php	
	/*  end the buffer, echo the page content  */
	//ob_end_flush();
?>	
